#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QTabWidget>

QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE

class LoginDialog;

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

    enum UserRole {
        Leader,
        Admin,
        Teacher,
        Student,
        Supervisor
    };
    void setUserRole(UserRole role);
    void setUserAccount(const QString &account);

private:
    Ui::MainWindow *ui;
    UserRole currentRole;
    QString currentAccount;
};
#endif // MAINWINDOW_H
